<%--
  Created by IntelliJ IDEA.
  User: wangzhanshuai
  Date: 2021/1/21
  Time: 6:41 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    pageContext.setAttribute("ctx", request.getContextPath());
%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form method="post" action="${ctx}/user/testUser">
        姓名：<input type="text" name="name" />
        年龄：<input type="text" name="age" />
        性别：<input type="text" name="sex" />
        省份：<input type="text" name="address.province" />
        城市：<input type="text" name="address.city" />
        城镇：<input type="text" name="address.town" />
        <input type="submit" value="提交">
    </form>
</body>
</html>
